package com.example.note_project.ui.home;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.example.note_project.util.DBOpenHelper;

//所有笔记
public class HomeViewModel extends ViewModel {
    private MutableLiveData<String> mText;

    public HomeViewModel() {
        mText = new MutableLiveData<>();
        mText.setValue("请输入!");
    }

    public LiveData<String> getText() {
        return mText;
    }
}
